package part21_建造者模式_建房项目.p01_传统;

/**
 * @ClassName: AbstractHouse
 * @Author: AllenSun
 * @Date: 2020/3/9 23:07
 */
public abstract class AbstractHouse {
    //打地基
    public abstract void buildBasic();
    //砌墙
    public abstract void buildWalls();
    //封顶
    public abstract void roofed();

    public void build(){
        buildBasic();
        buildWalls();
        roofed();
    }
}
